﻿using System;
using System.Collections.Generic;
using System.Windows.Forms;
using Autodesk.Revit.UI;
using YJKRoomInspection.Model;
using YJKRoomInspection.ShowDataForm.FireProofGradeCheck;
using YJKRoomInspection.Utiltiy;
using YJKInspectModelFunc.ModelLayer;

namespace YJKRoomInspection.SpecialUse
{
	public class ResutlShow_CmdFrontRoomDoorsCheck : IResutlShow<ICloseCurveAnalays>, IPackerResutlShow<ICloseCurveAnalays>, IBase<ICloseCurveAnalays>
	{
		public void ShowResults(List<ICloseCurveAnalays> input, params object[] otherValues)
		{
			new List<bool>();
			new List<BaseDoorPacker>();
			ExternalCommandData cmdData = StaticRescource.CmdData;
			UIDocument activeUIDocument = cmdData.Application.ActiveUIDocument;
			try
			{
				new DoorGradeViewLayerManger().DoViewLayer(cmdData, StaticRescource.m_hWndRevit, activeUIDocument, input);
			}
			catch (Exception ex)
			{
				MessageBox.Show(ex.Message, "盈建科提示");
			}
		}
	}
}
